package com.lai;


import java.util.Scanner;

public class debug {
    public static void main(String[] args) {
        int[] arr1 = new int[3];
        Scanner sc = new Scanner(System.in);
        for (int i = 0; i < arr1.length; i++) {
            arr1[i] = sc.nextInt();
        }

        for (int i = 0; i < arr1.length; i++) {
            for (int j = i + 1; j < arr1.length; j++) {
                if (arr1[i] < arr1[j]) {//换位
                    int temp = arr1[j];
                    arr1[j] = arr1[i];
                    arr1[i] = temp;
                }
            }
        }
        for (int a = 0; a < arr1.length; a++) {//输出数组。这里是从大到小的排列。
            System.out.print(arr1[a] + " ");
        }

    }
}
